package com.sang.support;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 封装查询条件
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QueryPageBean implements Serializable{
    private Integer currentPage;//页码
    private Integer pageSize;//每页记录数

    private String queryName;//查询条件:商品名称
    private Integer minPrice;//筛选条件:价格区间
    private Integer maxPrice;
    private Integer saleNum;//排序条件:销售量
    private Integer price; //排序条件:价格
    private Integer commentNum;//排序条件:评论数

//    private String searchName;

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }



}